<?php

namespace mpend\modules\commission\controllers;

use Yii;
use mpend\components\Controller;
use yii\data\ActiveDataProvider;
use common\models\member\MemberType;

/**
 * StratumController
 *
 * @author emhome<emhome@163.com>
 * @since 2.0
 */
class StratumController extends Controller {

    /**
     * actionView
     * 分类层级信息
     *
     * @view view.php
     * @return mixed
     */
    public function actionView($id) {
        $model = MemberType::findOne(['id' => $id]);

        return $this->render('view', [
            'model' => $model
        ]);
    }

}
